using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class BsScheduleprocessTable : TableInfo
	{
		public const string C_TABLENAME = "Bs_Scheduleprocess"; 

		public const string C_SCHEDULEPROCESSID = "SCHEDULEPROCESSID";
		public const string C_SCHEDULEDETAILID = "SCHEDULEDETAILID";
		public const string C_ORDERNUM = "ORDERNUM";
		public const string C_PROCESSID = "PROCESSID";
		public const string C_OUTSOURCEBACKDATE = "OUTSOURCEBACKDATE";
		public const string C_OURSOURCEBACKNUM = "OURSOURCEBACKNUM";
		public const string C_OUTSOURCEUNQUALIFYNUM = "OUTSOURCEUNQUALIFYNUM";
		public const string C_CHECKDATE = "CHECKDATE";
		public const string C_CHECKUNQUALIFYNUM = "CHECKUNQUALIFYNUM";
		public const string C_WARNNUM = "WARNNUM";
		public const string C_EXPECTCOMPLETIONDATE = "EXPECTCOMPLETIONDATE";
		public const string C_ACTULCOMPLETIONDATE = "ACTULCOMPLETIONDATE";
		public const string C_ISOUTSOURCE = "ISOUTSOURCE";
		public const string C_ISCHECK = "ISCHECK";
				
		public BsScheduleprocessTable()
		{
			_tableName ="Bs_Scheduleprocess";
		}

		protected static BsScheduleprocessTable _current;

		public static BsScheduleprocessTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new BsScheduleprocessTable();

			_current.Add(C_SCHEDULEPROCESSID, new ColumnInfo(C_SCHEDULEPROCESSID, "", true, typeof(Decimal?)));
			_current.Add(C_SCHEDULEDETAILID, new ColumnInfo(C_SCHEDULEDETAILID, "", false, typeof(Decimal?)));
			_current.Add(C_ORDERNUM, new ColumnInfo(C_ORDERNUM, "", false, typeof(Decimal?)));
			_current.Add(C_PROCESSID, new ColumnInfo(C_PROCESSID, "", false, typeof(String)));
			_current.Add(C_OUTSOURCEBACKDATE, new ColumnInfo(C_OUTSOURCEBACKDATE, "", false, typeof(DateTime?)));
			_current.Add(C_OURSOURCEBACKNUM, new ColumnInfo(C_OURSOURCEBACKNUM, "", false, typeof(Decimal?)));
			_current.Add(C_OUTSOURCEUNQUALIFYNUM, new ColumnInfo(C_OUTSOURCEUNQUALIFYNUM, "", false, typeof(Decimal?)));
			_current.Add(C_CHECKDATE, new ColumnInfo(C_CHECKDATE, "", false, typeof(DateTime?)));
			_current.Add(C_CHECKUNQUALIFYNUM, new ColumnInfo(C_CHECKUNQUALIFYNUM, "", false, typeof(Decimal?)));
			_current.Add(C_WARNNUM, new ColumnInfo(C_WARNNUM, "", false, typeof(Decimal?)));
			_current.Add(C_EXPECTCOMPLETIONDATE, new ColumnInfo(C_EXPECTCOMPLETIONDATE, "", false, typeof(DateTime?)));
			_current.Add(C_ACTULCOMPLETIONDATE, new ColumnInfo(C_ACTULCOMPLETIONDATE, "", false, typeof(DateTime?)));
			_current.Add(C_ISOUTSOURCE, new ColumnInfo(C_ISOUTSOURCE, "", false, typeof(String)));
			_current.Add(C_ISCHECK, new ColumnInfo(C_ISCHECK, "", false, typeof(String)));
						
		}

		public ColumnInfo SCHEDULEPROCESSID
		{
			get { return this[C_SCHEDULEPROCESSID];}
		}

		public ColumnInfo SCHEDULEDETAILID
		{
			get { return this[C_SCHEDULEDETAILID];}
		}

		public ColumnInfo ORDERNUM
		{
			get { return this[C_ORDERNUM];}
		}

		public ColumnInfo PROCESSID
		{
			get { return this[C_PROCESSID];}
		}

		public ColumnInfo OUTSOURCEBACKDATE
		{
			get { return this[C_OUTSOURCEBACKDATE];}
		}

		public ColumnInfo OURSOURCEBACKNUM
		{
			get { return this[C_OURSOURCEBACKNUM];}
		}

		public ColumnInfo OUTSOURCEUNQUALIFYNUM
		{
			get { return this[C_OUTSOURCEUNQUALIFYNUM];}
		}

		public ColumnInfo CHECKDATE
		{
			get { return this[C_CHECKDATE];}
		}

		public ColumnInfo CHECKUNQUALIFYNUM
		{
			get { return this[C_CHECKUNQUALIFYNUM];}
		}

		public ColumnInfo WARNNUM
		{
			get { return this[C_WARNNUM];}
		}

		public ColumnInfo EXPECTCOMPLETIONDATE
		{
			get { return this[C_EXPECTCOMPLETIONDATE];}
		}

		public ColumnInfo ACTULCOMPLETIONDATE
		{
			get { return this[C_ACTULCOMPLETIONDATE];}
		}

		public ColumnInfo ISOUTSOURCE
		{
			get { return this[C_ISOUTSOURCE];}
		}

		public ColumnInfo ISCHECK
		{
			get { return this[C_ISCHECK];}
		}

		
	}
}


